<script type="text/javascript">
	<!--

	    function rowState() {
	    if (enhanced) {
	    if (document.getElementById("insideFWD").checked == true) {
	    hideRevRows(); showFwdRows(); hidePageRows();
	    } else if (document.getElementById("insideREV").checked == true) {
	    hideFwdRows(); showRevRows();
	    if (document.getElementById("wpComplex").checked == true) {
	    showPageRows();
	    } else {
	    hidePageRows();
	    }
	    } else {
	    hideFwdRows(); hideRevRows(); hidePageRows();
	    }
	    }
	    }

	    function hideFwdRows() {
	    if (enhanced) {
	    document.getElementById("dtdRow").style.display = 'none';
	    document.getElementById("charEncRow").style.display = 'none';
	    document.getElementById("fwdHead").style.display = 'none';
	    }
	    }
	    function hideRevRows() {
	    if (enhanced) {
	    document.getElementById("charEncRow").style.display = 'none';
	    document.getElementById("revHead").style.display = 'none';
	    document.getElementById("pStyleFirst").style.display = 'none';
	    document.getElementById("wpSimple").style.display = 'none';
	    document.getElementById("pPadding").style.display = 'none';
	    }
	    }
	    function hidePageRows() {
	    if (enhanced) {
	    document.getElementById("onPageHead").style.display = 'none';
	    document.getElementById("wpOnPage").style.display = 'none';
	    }
	    }
	    function showFwdRows() {
	    if (enhanced) {
	    document.getElementById("dtdRow").style.display = '';
	    document.getElementById("charEncRow").style.display = '';
	    document.getElementById("fwdHead").style.display = '';
	    }
	    }
	    function showRevRows() {
	    if (enhanced) {
	    document.getElementById("charEncRow").style.display = '';
	    document.getElementById("revHead").style.display = '';
	    document.getElementById("pStyleFirst").style.display = '';
	    document.getElementById("wpSimple").style.display = '';
	    document.getElementById("pPadding").style.display = '';
	    }
	    }
	    function showPageRows() {
	    if (enhanced) {
	    document.getElementById("onPageHead").style.display = '';
	    document.getElementById("wpOnPage").style.display = '';
	    }
	    }

	    function enhancePage() {
	    // Enhance the page  if JS features are available
	    if(document.getElementById){
	    //We can use  getElementById, prepare the page
	    var warningPara = document.getElementById('noJsMsg');
	    warningPara.style.display='none';
	    warningPara.parentNode.removeChild(warningPara);
	    return true;
	    } else {
	    return false;
	    }
	    }

	    //-->
</script>

<img src="../templates/subSilver/images/wp-united-logo.gif" style="position: absolute; left: 2px; top: 2px; " />

<!-- BEGIN switch_wp_error -->
<div style="background-color: red; border: 1px solid #ffffff; width = 100%; height = 100px; vertical-align: center;"><p style="color: #ffffff; font-weight: bold;">{switch_wp_error.WP_ERROR_MSG}</p></div>
<!-- END switch_wp_error -->

<h1 style="text-align: center;">{L_WPWIZARD_H1} &ndash; {L_WPWIZARD_STEP}</h1>

<h2 style="text-align: center;">{L_WPWIZARD_S3_TITLE}</h2>
<br />

<p class="gen">{L_WPWIZARD_S3_EXPLAIN}</p>

<p class="gen" style="color: red;" id="noJsMsg">{L_WP_NO_ADV_JS}</p><br />
<form action="{S_WPWIZ_ACTION}" method="post">

	<table width="80%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline" style="margin-bottom: 10px;">
		<tr>
			<th class="thHead" colspan="2">{L_WPWIZARD_DISPLAY_TITLE}</th>
		</tr>
		<tr>
			<td class="row1"><strong>{L_WPINSIDE_TITLE}</strong><br /><br /><span class="gensmall">{L_WPINSIDE_EXPLAIN1}<br /><br />{L_WPINSIDE_EXPLAIN2}</span></td>
			<td class="row2" style="width: 200px; min-width: 200px; text-align: left;"><input type="radio" id="insideFWD" name="rad_Inside" value="FWD" onClick="rowState()" {S_WPINP} />{L_WPINP}<br /><input type="radio" name="rad_Inside" id="insideREV" value="REV" onClick="rowState()" {S_PINWP} />{L_PINWP}<br /><input type="radio" name="rad_Inside" value="NONE" onClick="rowState()" {S_PW_NONE} />{L_PW_NONE}</td>
		</tr>
		<tr id="fwdHead">
			<td class="catHead" colspan="2"><span class="gen">{L_WPWIZARD_WINP_TITLE}</span></td>
		</tr>
		<tr id="dtdRow">
			<td class="row2"><strong>{L_WPDTD_TITLE}</strong><br /><br /><span class="gensmall">{L_WPDTD_EXPLAIN}</span></td>
			<td class="row2" style="width: 200px; min-width: 200px; text-align: left;"><input type="radio" id="dtdYes" name="rad_DTD" value="1" {S_WPDTD_ENABLE} />{L_WP_YESREC}<br /><input type="radio" name="rad_DTD" value="0" {S_WPDTD_DISABLE} />{L_WP_NO}</td>
		</tr>
		<tr id="revHead">
			<td class="catHead" colspan="2"><span class="gen">{L_WPWIZARD_PINW_TITLE}</span></td>
		</tr>
		<tr id="wpSimple">
			<td class="row2"><strong>{L_WPSIMPLE_TITLE}</strong><br /><br /><span class="gensmall">{L_WPSIMPLE_EXPLAIN1}<br /><br />{L_WPSIMPLE_EXPLAIN2}<br /><br />{L_WPSIMPLE_EXPLAIN3}</span></td>
			<td class="row2" style="width: 200px; min-width: 200px; text-align: left;"><input type="radio" onClick="rowState()" name="rad_Simple" value="1" {S_WPSIMPLE_YES} />{L_WP_SIMPLE}<br /><input type="radio" id="wpComplex" onClick="rowState()" name="rad_Simple" value="0" {S_WPSIMPLE_NO} />{L_WP_FULLPAGE}</td>
		</tr>
		<tr id="pStyleFirst">
			<td class="row2"><strong>{L_PSTYLES_FIRST_TITLE}</strong><br /><br /><span class="gensmall">{L_PSTYLES_FIRST_EXPLAIN1}<br /><br />{L_PSTYLES_FIRST_EXPLAIN2}<br /><br />{L_PSTYLES_FIRST_EXPLAIN3}<br /><br />{L_PSTYLES_FIRST_EXPLAIN4}</span></td>
			<td class="row2" style="width: 200px; min-width: 200px; text-align: left;"><input type="radio" name="rad_pFirst" value="1" onClick="rowState()" {S_PS_FIRST} />{L_WP_YESREC}<br /><input type="radio" name="rad_pFirst" value="2" onClick="rowState()" {S_PS_NOTFIRST} />{L_WP_NO}<br /><input type="radio" name="rad_pFirst" value="0" onClick="rowState()" {S_PS_NONE} />{L_PS_NONE}</td>
		</tr>
		<tr id="pPadding">
			<td class="row2"><strong>{L_WP_PADTITLE}</strong><br /><br /><span class="gensmall">{L_WP_PADEXPLAIN1}<br /><br />{L_WP_PADEXPLAIN2}<br /><br />{L_WP_PADEXPLAIN3}</span></td>
			<td class="row2" style="width: 200px; min-width: 200px; text-align: left;">
				<table border="0" cellpadding="0" cellspacing="0">
					<tr><td>{L_WP_PADTOP}:</td><td><input type="text" name="txt_padT" maxlength="3" size="3" value="{S_WP_PADTOP}"/>&nbsp;{L_WP_PIXELS}</td></tr>
					<tr><td>{L_WP_PADRIGHT}:</td><td><input type="text" name="txt_padR" maxlength="3" size="3" value="{S_WP_PADRIGHT}"/>&nbsp;{L_WP_PIXELS}</td></tr>
					<tr><td>{L_WP_PADBOTTOM}:&nbsp;</td><td><input type="text" name="txt_padB" maxlength="3" size="3" value="{S_WP_PADBOTTOM}"/>&nbsp;{L_WP_PIXELS}</td></tr>
					<tr><td>{L_WP_PADLEFT}:</td><td><input type="text" name="txt_padL" maxlength="3" size="3" value="{S_WP_PADLEFT}"/>&nbsp;{L_WP_PIXELS}</td></tr>
				</table>
			</td>
		</tr>
		<tr id="charEncRow">
			<td class="row2"><strong>{L_WPCHARENC_TITLE}</strong><br /><br /><span class="gensmall">{L_WPCHARENC_EXPLAIN1}<br /><br />{L_WPCHARENC_EXPLAIN2}</span></td>
			<td class="row2" style="width: 200px; min-width: 200px; text-align: left;"><input type="radio"  name="rad_CharEnc" value="W" {S_WPCHARENC_MATCHW} />{L_WP_MATCHW}<br /><input type="radio" name="rad_CharEnc" value="P" {S_WPCHARENC_MATCHP} />{L_WP_MATCHP}<br /><input type="radio" name="rad_CharEnc" value="N" {S_WPCHARENC_NOCHANGE} />{L_WP_NOCHANGE}</td>
		</tr>
		<tr id="onPageHead">
			<td class="catHead" colspan="2"><span class="gen">{L_WPPAGE_OPTTITLE}</span></td>
		</tr>
		<tr id="wpOnPage">
			<td class="row2"><strong>{L_WPPAGE_TITLE}</strong><br /><br /><span class="gensmall">{L_WPPAGE_EXPLAIN1}<br /><br />{L_WPPAGE_EXPLAIN2}</span></td>
			<td class="row2" style="width: 200px; min-width: 200px; text-align: left;"><input type="text" name="txt_wpPage" value="{S_WPPAGE}"/></td>
		</tr>
	</table>
	<table width="80%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline" style="margin-bottom: 10px;">
		<tr>
			<th class="thHead" colspan="2">{L_WPWIZARD_BEHAVE_TITLE}</th>
		</tr>
		<tr>
			<td class="row1"><strong>{L_WPCENSOR_TITLE}</strong><br /><br /><span class="gensmall">{L_WPCENSOR_EXPLAIN}</span></td>
			<td class="row2" style="width: 150px; min-width: 150px; text-align: center;"><input type="radio" id="censorYes" name="rad_Censor" value="1"  {S_WPCENSOR_ENABLE} />{L_WP_YES}&nbsp; &nbsp;<input type="radio" name="rad_Censor" value="0" / {S_WPCENSOR_DISABLE} />{L_WP_NO}</td>
		</tr>
		<tr>
			<td class="row1"><strong>{L_WPPRIVATE_TITLE}</strong><br /><br /><span class="gensmall">{L_WPPRIVATE_EXPLAIN}</span></td>
			<td class="row2" style="width: 150px; min-width: 150px; text-align: left;"><input type="radio" id="privateYes" name="rad_Private" value="1"  {S_WPCENSOR_ENABLE} />{L_WP_YES}<br /><input type="radio" name="rad_Private" value="0" {S_WPPRIVATE_DISABLE} />{L_WP_NOREC}</td>
		</tr>
	</table>
	<table width="80%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
		<tr>
			<td class="row1" style="width: 50%; text-align: right;"><input type="submit" name="Back" value="{L_WPBACK}" class="mainoption" /></td>
			<td class="row1" style="text-align: left;"><input type="submit" name="Next" value="{L_WPNEXT}" class="mainoption" /></td>
		</tr>
	</table>
</form>

<script type="text/javascript">
	<!--
	    var enhanced = enhancePage();
	    rowState();
	    //-->
</script>

<!-- BEGIN switch_show_footer -->
<br clear="both" />
<!--
    Please keep this copyright notice visible and unaltered.
    -->
<div align="center" class="copyright">{L_WP_FOOTER}</div>
<!-- END switch_show_footer -->